# -*- coding: utf-8 -*-
"""
Show rules :-)
"""

from kivy.app import App

from model import gamestate
from ui.hat_widget import HatWidget


class RulesScreen(HatWidget):
    def __init__(self, game_state, presenter, **kwargs):
        super(RulesScreen, self).__init__(presenter, **kwargs)

        self.game_state = game_state

    def go_back(self):
        self.presenter.change_phase(gamestate.Phase.WELCOME)

    def about(self):
        self.presenter.change_phase(gamestate.Phase.ABOUT)
